* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    display: flex;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    gap: 20px;
}

.sidebar {
    width: 250px;
    background-color: #f5f5f5;
    padding: 20px;
    border-right: 1px solid #ddd;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#video-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    width: 100%;
    max-width: 1400px;
}

.video-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #ccc;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.video-wrapper canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-wrapper.focused {
    border: 4px solid #2196F3;
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.5);
    z-index: 2;
}

.video-wrapper.focused::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid #2196F3;
    border-radius: 8px;
    pointer-events: none;
}

.video-wrapper:hover {
    border-color: #666;
    transform: scale(1.01);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.controls {
    margin-top: 20px;
}

button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

.pagination {
    margin-top: 5px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.pagination button {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

.pagination button:hover {
    background: #f5f5f5;
}

.pagination button.active {
    background: #4a90e2;
    color: white;
    border-color: #4a90e2;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
 